package com.aote.expression.unit;

/**
 * 正数不动，负数返回0
 */
public class NegtiveToZero implements UnitProcessor {
	public double process(double number) {
		if(number >= 0) {
			return number;
		}
		return 0; 
	}
}
